package nl.Viewer.Dialogs.DatasetSelection;

import javax.swing.JPanel;

import nl.Viewer.SerializedObjects.Modality;

/**
 * Simple object to represent a modality in the selection tree
 * 
 * @author Jeroen Verschuur
 *
 */

public class ModalityItemPanel extends JPanel {
	private static final long serialVersionUID = -1;	
	public Modality modality;
	public ModalityItemPanel(Modality modality) {
		this.modality = modality;
	}
	
	public String toString() {
		return modality.getName();
	}
	
}
